package com.harry12.mybatis.Mapper;

import com.harry12.mybatis.entity.Blog;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author harryhx
 */
//@Mapper
//@Repository
public interface BlogMapper {
    //插入数据
    void addBlog(Blog blog);
    //查询博客
    List<Blog> queryBlogIF(Map map);
    //更新博客
    int updateBlog(Map blog);


}
